package com.example.harmonyosproject.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;
import java.time.LocalDateTime;
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class News implements Serializable {
    private Integer id;
    private Integer userId;
    private String userName;
    private String headImage;
    private String text;
    private String image;
    private Integer likes;
    private boolean favorite;
    private LocalDateTime createTime;
}
